dictionary object
This method is used to determine whether the dictionary is empty. That is to say, contains no entries.
bool is_empty()
Parameters:
None.
Return value:
True if the dictionary is empty, false otherwise.
Remarks:
None.
Example:
// Declare a dictionary and check if it is empty.
void main()
{
dictionary example;
example.set("Name", "Damien");
if(example.is_empty())
{
alert("Oh dear!", "The dictionary seems to be empty, despite attempting to feed it with data.");
exit();
}
alert("Information", "The dictionary is nicely full of data.");
}